﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UMacKeepEdit.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.UserModel.UMacKeepEdit" %>

<div class="pageContent">
	<form method="post" action="/MachineSys/UserModel/UMacKeepEdit.aspx?ajaxmethod=edit" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
            <div class="" style=" clear:both; border-bottom:1px solid #000; padding:5px 0px; margin:5px 0px; font-weight:bold; font-size:14px;">                 
                机器信息
             </div>
			<p>
				<label>机号：</label>
				<input name="SerialNumber"  type="text" class="required"  value="<%=obj.SerialNumber %>" readonly />
                <input name="UMKID"  type="hidden"  value="<%=obj.UMKID %>" />
			</p>
            <p>
				<label>有无保修卡：</label>
				<input name="IsWarrantyCard" class="" type="checkbox" value="true" alt="" <%=obj.IsWarrantyCard?"checked":"" %>/>
			</p>
            <p>
				<label>交机时小时数：</label>
				<input name="IntoHours" type="text" class=""   value="<%=obj.IntoHours %>" />
			</p>
			<p>
				<label>交机日期：</label>
				<input name="IntoDate" class="required date" type="text" value="<%=obj.IntoDate.ToString("yyyy-MM-dd") %>" alt=""/>
			</p>
            <div class="divider"></div>
			<p>
				<label>客户姓名：</label>
				<input type="text"  name="CustomerName" class="required" value="<%=obj.CustomerName %>"/>
			</p>			
			<p>
				<label>客户手机：</label>
				<input name="CustomerMobile" type="text" alt="" value="<%=obj.CustomerMobile %>"/>
			</p>
           
            <dl class="nowrap">
				<dt>客户地址：</dt>
               <dd><input name="CustomerAddress" type="text" alt="" size="50"  value="<%=obj.CustomerAddress %>"/>    </dd>         
            </dl>
            <div class="divider"></div>
			<p>
				<label>经销商：</label> 
			     <input type="text" name="dwz.orgLookup.AgentName" class="required textInput" alt="" readonly="true" value="<%=obj.AgentName %>" />
                <a class="btnLook" href="SAPAgentListLookUp.aspx?target=dialog&rel=UMacKeepAdd" lookupgroup="orgLookup"
                    maxable="false" width="600" resizable="false" title="经销商列表">
                    <hi:text key="查找带回" />
                </a>
			</p>
           <p>
				<label>服务电话：</label>
				<input name="AgentTel" class="textInput" type="text"  alt="" value="<%=obj.AgentTel %>"/>
			</p>
            <div class="divider"></div>
            <dl class="nowrap">
				<dt>备注：</dt>
                <dd><textarea name="Remark" cols="50"><%=obj.Remark%></textarea></dd>               
            </dl>
            <div class="" style=" clear:both; border-bottom:1px solid #000; padding:5px 0px; margin:5px 0px; font-weight:bold; font-size:14px;">                 
                服务费用
             </div>
              <p>
				<label>一期支付费用：</label>
				<input name="FirstCost" class="textInput" type="text"  alt="" value="<%=obj.FirstCost%>" />
			  </p>
             <p>
				<label>支付时间：</label>
				<input name="FirstCostDate" class="date" type="text"  alt="" value="<%=obj.FirstCostDate%>"/>
			 </p>
             <p>
				<label>二期支付费用：</label>
				<input name="SecondCost" class="textInput" type="text"  alt="" value="<%=obj.SecondCost%>"/>
			  </p>
             <p>
				<label>支付时间：</label>
				<input name="SecondCostDate" class="date" type="text"  alt="" value="<%=obj.SecondCostDate%>"/>
			 </p>
              <dl class="nowrap">
				<dt>备注：</dt>
                <dd><textarea name="CostRemark" cols="50"><%=obj.CostRemark%></textarea></dd>               
            </dl>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>